package com.lianjinsu.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;

@Getter
@Setter
@TableName(value = "admin")
@Alias(value = "Admin")
public class Admin extends Model<Admin> {
    private static final long serialVersionUID = -3064096681971231637L;

    @TableId
    private Integer id;

    private String account;

    private String password;

    private String slat;

    private LocalDateTime createTime = LocalDateTime.now();

    private LocalDateTime updateTime = LocalDateTime.now();
}
